package com.jx.gocomtask.webservice.repository;

import com.jx.gocomtask.webservice.entity.ExtTaskExtension;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.query.Procedure;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;

/**
 * Created by LWD on 2017/8/11.
 */
public interface ExtTaskExtensionRepository
        extends PagingAndSortingRepository<ExtTaskExtension,Long>,CrudRepository<ExtTaskExtension,Long> {

    @Modifying
    @Procedure(name ="state_procedure")
    public void updateNumber(@Param("msgId")Long msgId);
}
